Only run tests when building architecture-dependent packages
authorSimon McVittie <smcv@debian.org>
Tue, 29 Aug 2017 15:36:05 +0000 (16:36 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 29 Aug 2017 15:36:05 +0000 (16:36 +0100)
The tests aren't so interesting that we want to run them again when
splitting -arch/-indep builds.

debian/changelog
debian/rules

index e2d89f1d41ff6052d6d90a27cbdc8ac9d88c489c..dd4bdcbfe3bd65a8b4de70a940a67520200ce8bc 100644 (file)
@@ -4,6 +4,9 @@ ostree (2017.10-1) UNRELEASED; urgency=medium
     - Update symbols file
     - Install new bash completions
   * Use dh_missing --fail-missing instead of dh_install --fail-missing
+  * Only run tests when building architecture-dependent packages.
+    The tests aren't so interesting that we want to run them again
+    when splitting -arch/-indep builds.
 
  -- Simon McVittie <smcv@debian.org>  Tue, 29 Aug 2017 16:08:09 +0100
 
index 3a09c15d6595245dc3cbebee17a629a0b5fa022e..5dfb3bd26e7116291c6c4888882d7508cef244f3 100755 (executable)
@@ -38,11 +38,14 @@ endif
 override_dh_auto_configure:
        dh_auto_configure -- $(configure_options)
 
-override_dh_auto_test:
+override_dh_auto_test-arch:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        debian/test.sh
 endif
 
+override_dh_auto_test-indep:
+       :
+
 override_dh_auto_install:
        dh_auto_install
 ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))